<script setup lang="ts"></script>

<template>
  <RouterView v-slot="{ Component }">
    <KeepAlive>
      <component :is="Component" />
    </KeepAlive>
  </RouterView>
</template>

<style lang="less">
  @import '@/styles/reset.less';
  @import '@/styles/index.less';

  #app {
    width: 100vw;
    height: 100vh;
  }
</style>
